
export const containers = [
{
    type: 'grid',
    alias: 'column-1-grid',  //组件别名，可以自定义
    category: 'container',
    icon: 'column-1-grid',
    commonFlag: true,
    cols: [],
    options: {
      name: '',
      hidden: false,
      gutter: 12,
      colHeight: null,  //栅格列统一高度属性，用于解决栅格列设置响应式布局浮动后被挂住的问题！！
      customClass: '',  //自定义css类名
      /*gridType:"form",
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }*/
    }
  },

  {
    type: 'grid',
    alias: 'column-2-grid',  //组件别名，可以自定义
    category: 'container',
    icon: 'column-2-grid',
    commonFlag: true,
    cols: [],
    options: {
      name: '',
      hidden: false,
      gutter: 12,
      colHeight: null,  //栅格列统一高度属性，用于解决栅格列设置响应式布局浮动后被挂住的问题！！
      customClass: '',  //自定义css类名
      /*gridType:"form",
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }*/
    }
  },

  {
    type: 'grid',
    alias: 'column-3-grid',  //组件别名，可以自定义
    category: 'container',
    icon: 'column-3-grid',
    commonFlag: true,
    cols: [],
    options: {
      name: '',
      hidden: false,
      gutter: 12,
      colHeight: null,  //栅格列统一高度属性，用于解决栅格列设置响应式布局浮动后被挂住的问题！！
      gridType:"form",
      /*showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }*/
    }
  },

  {
    type: 'grid',
    alias: 'column-4-grid',  //组件别名，可以自定义
    category: 'container',
    icon: 'column-4-grid',
    commonFlag: true,
    cols: [],
    options: {
      name: '',
      hidden: false,
      gutter: 12,
      colHeight: null,  //栅格列统一高度属性，用于解决栅格列设置响应式布局浮动后被挂住的问题！！
      /*gridType:"form",
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }*/
    }
  },
  {
    type: 'grid',
    alias: 'column-12-grid',  //组件别名，可以自定义
    category: 'container',
    icon: 'column-4-grid',
    commonFlag: true,
    cols: [],
    options: {
      name: '',
      hidden: false,
      gutter: 12,
      colHeight: null,  //栅格列统一高度属性，用于解决栅格列设置响应式布局浮动后被挂住的问题！！
      /*gridType:"form",
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }*/
    }
  },
  {
    type: 'grid',
    alias: 'column-24-grid',  //组件别名，可以自定义
    category: 'container',
    icon: 'column-4-grid',
    commonFlag: true,
    cols: [],
    options: {
      name: '',
      hidden: false,
      gutter: 12,
      colHeight: null,  //栅格列统一高度属性，用于解决栅格列设置响应式布局浮动后被挂住的问题！！
      /*gridType:"form",
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }*/
    }
  },
  {
    type: 'grid-col',
    category: 'container',
    icon: 'grid-col',
    internal: true,
    widgetList: [],
    options: {
      name: '',
      hidden: false,
      span: 12,
      offset: 0,
      push: 0,
      pull: 0,
      responsive: false,  //是否开启响应式布局
      md: 12,
      sm: 12,
      xs: 12,
      customClass: '',  //自定义css类名
    }
  },
/*  {
    type: 'table',
    category: 'container',
    icon: 'table',
    rows: [],
    alias:"column-1-table",
    options: {
      name: '',
      tableData:true,
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }
    }
  },
  {
    type: 'table',
    category: 'container',
    icon: 'table',
    rows: [],
    alias:"column-2-table",
    options: {
      name: '',
      tableData:true,
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }
    }
  },
  {
    type: 'table',
    category: 'container',
    icon: 'table',
    rows: [],
    alias:"column-4-table",
    options: {
      name: '',
      tableData:true,
      showIndex:1,
      toolBar:{
        show:true,
      },
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }
    }
  },
  {
    type: 'table',
    category: 'container',
    icon: 'table',
    rows: [],
    alias:"column-6-table",
    options: {
      name: '',
      tableData:true,
      toolBar:{
        show:true,
      },
      showIndex:1,
      returnParams:{
        split:false,
        args:[""],
      },
      btnBar:{
        topBtns:[],
        inBtns:[],
        bottomBtns:[],
      },
      frame:{
        "resizeAble": true,
        "dragAble": true,
        "maxMinAble": true,
        "printAble": true,
        "fullScreen": true,
        "showTitle": true,
        "titleAlign": "center",
      }
    }
  },
  {
    type: 'table-cell',
    category: 'container',
    icon: 'table-cell',
    internal: true,
    widgetList: [],
    merged: false,
    options: {
      name: '',
      cellWidth: '',
      cellHeight: '',
      colspan: 1,
      rowspan: 1,
      wordBreak: false,  //是否自动换行
      customClass: '',  //自定义css类名
    }
  },*/

]

export const  basicFields = [
  {
    type: 'input',
    alias: 'input',  //组件别名，可以自定义
    icon: 'text-field',
    aliasType:'input',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '输入框',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'input',
    alias: 'textarea',  //组件别名，可以自定义
    icon: 'textarea-field',
    aliasType:'textArea',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '输入框',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      type:"textarea",
      otherNonGenericAttributes:{},
    },
  },
/*  {
    type: 'input',
    alias: 'nurse1Input',  //组件别名，可以自定义
    icon: 'nurse',
    aliasType:'nurse1Input',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '护士1',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },
  {
    type: 'input',
    alias: 'nurse2Input',  //组件别名，可以自定义
    icon: 'nurse',
    aliasType:'nurse2Input',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '护士2',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },
  {
    type: 'input',
    alias: 'nurseHead',  //组件别名，可以自定义
    icon: 'nurse',
    aliasType:'nurseHead',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '护士长',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },*/
/*  {
    type: 'number',
    icon: 'number-field',
    alias: 'countBox',  //组件别名，可以自定义
    aliasType:'countBox',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '级联选择',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },*/
  {
    type: 'radio',
    icon: 'radio-field',
    aliasType:'radio',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '单选框',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'checkbox',
    icon: 'checkbox-field',
    alias: 'checkbox',  //组件别名，可以自定义
    aliasType:'checkBox',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '多选框',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'select',
    icon: 'select-field',
    alias: 'select',  //组件别名，可以自定义
    aliasType:'select',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '下拉框',
      preSuffix: '',
      filterable:true,
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'select',
    icon: 'checkSelectBox',
    alias: 'checkSelectBox',  //组件别名，可以自定义
    aliasType:'checkSelectBox',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '多选下拉框',
      preSuffix: '',
      filterable:true,
      changeEvent:[],
      multiple:true,
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'select',
    icon: 'InputSearchSelect',
    alias: 'InputSearchSelect',  //组件别名，可以自定义
    aliasType:'InputSearchSelect',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '可编辑下拉框',
      preSuffix: '',
      allowCreate:true,
      filterable:true,
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'date-range',
    icon: 'date-range-field',
    alias: 'date',  //组件别名，可以自定义
    aliasType:'DatePicker',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '日期',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'time',
    icon: 'time-field',
    alias: 'time',  //组件别名，可以自定义
    aliasType:'TimePicker',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '时间',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'date',
    icon: 'date-field',
    alias: 'dateTimeBox',  //组件别名，可以自定义
    aliasType:'dateTimeBox',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '日期时间',
      preSuffix: '',
      type:"datetime",
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{
        showDateFormat:"YYYY-MM-DD HH:mm",
        backDateFormat:"YYYY-MM-DD HH:mm",
        dateType:"日期时间输入",
      },
    },
  },
  {
    type: 'static-text',
    icon: 'static-text',
    aliasType:'text',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      changeEvent:[],
      syncData:[],
      preSuffix: "",
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'switch',
    icon: 'switch-field',
    aliasType:'switch',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '开关',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{label:"true",value:1},{label:"false",value:0}],
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'cascader',
    icon: 'cascader-field',
    aliasType:'cascader',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '级联选择',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{},
    },
  },
  {
    type: 'slider',
    icon: 'slider-field',
    formItemFlag: true,
    aliasType:'slider',
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '级联选择',
      preSuffix: '',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
      otherNonGenericAttributes:{
        "stepSize": 1,
        "min": 1,
        "max": 10
      },
    },
  },
  /*{
    //type: 'custom-temp',
    type: 'transfer',
    alias: 'shuttleFrame',  //组件别名，可以自定义
    icon: 'shuttleFrame',
    aliasType:'shuttleFrame',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },*/
/*  {
    type: 'custom-temp',
    alias: 'window',  //组件别名，可以自定义
    icon: 'window',
    aliasType:'window',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },
  {
    type: 'custom-temp',
    alias: 'windowWithReturn',  //组件别名，可以自定义
    icon: 'windowWithReturn',
    aliasType:'windowWithReturn',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },*/
/*  {
    type: 'input',
    alias: 'checkbox_input',  //组件别名，可以自定义
    icon: 'checkbox_input',
    aliasType:'checkBoxInput',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '多选输入框',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{option:[]},
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },*/

/*  {
    type: 'static-text',
    icon: 'label-area',
    alias: 'labelArea',  //组件别名，可以自定义
    aliasType:'label',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      tableItem: true,
      labelHidden: false,
      label: '区域',
      changeEvent:[],
      syncData:[],
      initializedExpressions:{range:[]},
      bindingData:{
        "type": "static",
        option:[{}]
      },
      rules:{},
      "readOnly": false,
      "visible": true,
      "enable": true,
      "required": false,
      "tableShow": false,
      "printAble": true,
    },
  },*/



]

export const advancedFields = [
  {
    type: 'picture-upload',
    icon: 'picture-upload-field',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      label: '',
      labelAlign: '',
      labelWidth: null,
      labelHidden: false,
      columnWidth: '200px',
      disabled: false,
      hidden: false,
      required: false,
      requiredHint: '',
      customRule: '',
      customRuleHint: '',
      //-------------------
      uploadURL: '',
      uploadTip: '',
      withCredentials: false,
      multipleSelect: false,
      showFileList: true,
      limit: 3,
      fileMaxSize: 5, //MB
      fileTypes: ['jpg', 'jpeg', 'png'],
      //headers: [],
      //-------------------
      customClass: '',  //自定义css类名
      labelIconClass: null,
      labelIconPosition: 'rear',
      labelTooltip: null,
      //-------------------
      onCreated: '',
      onMounted: '',
      onBeforeUpload: '',
      onUploadSuccess: '',
      onUploadError: '',
      onFileRemove: '',
      onValidate: '',
      //onFileChange: '',
    },

  },

  {
    type: 'file-upload',
    icon: 'file-upload-field',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      label: '',
      labelAlign: '',
      labelWidth: null,
      labelHidden: false,
      columnWidth: '200px',
      disabled: false,
      hidden: false,
      required: false,
      requiredHint: '',
      customRule: '',
      customRuleHint: '',
      //-------------------
      uploadURL: '',
      uploadTip: '',
      withCredentials: false,
      multipleSelect: false,
      showFileList: true,
      limit: 3,
      fileMaxSize: 5, //MB
      fileTypes: ['doc', 'docx', 'xls', 'xlsx'],
      //headers: [],
      //-------------------
      customClass: '',  //自定义css类名
      labelIconClass: null,
      labelIconPosition: 'rear',
      labelTooltip: null,
      //-------------------
      onCreated: '',
      onMounted: '',
      onBeforeUpload: '',
      onUploadSuccess: '',
      onUploadError: '',
      onFileRemove: '',
      onValidate: '',
      //onFileChange: '',
    },
  },

  {
    type: 'rich-editor',
    icon: 'rich-editor-field',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      label: '',
      labelAlign: '',
      placeholder: '',
      labelWidth: null,
      labelHidden: false,
      columnWidth: '200px',
      contentHeight: '200px',
      disabled: false,
      hidden: false,
      required: false,
      requiredHint: '',
      customRule: '',
      customRuleHint: '',
      //-------------------
      customClass: '',  //自定义css类名
      labelIconClass: null,
      labelIconPosition: 'rear',
      labelTooltip: null,
      minLength: null,
      maxLength: null,
      //showWordLimit: false,
      //-------------------
      onCreated: '',
      onMounted: '',
      onValidate: '',
    },
  },

/*  {
    type: 'cascader',
    icon: 'cascader-field',
    formItemFlag: true,
    options: {
      name: '',
      fieldNameEnabled: true,
      fieldName: '',  //数据键值名称
      label: '',
      labelAlign: '',
      defaultValue: '',
      placeholder: '',
      size: '',
      labelWidth: null,
      labelHidden: false,
      columnWidth: '200px',
      disabled: false,
      hidden: false,
      clearable: true,
      filterable: false,
      multiple: false,
      checkStrictly: false,  //可选择任意一级选项，默认不开启
      showAllLevels: true,  //显示完整路径
      dsEnabled: false, // 是否使用数据源数据
      dsName: '', // 数据源名称
      dataSetName: '',  //数据集名称
      labelKey: 'label',
      valueKey: 'value',
      childrenKey: 'children',
      areaDataEnabled: false,  //是否加载省市区数据
      areaDataType: 0, //0不开启，1加载省市数据，2加载省市区数据
      optionItems: [
        {label: 'select 1', value: 1, children: [{label: 'child 1', value: 11}]},
        {label: 'select 2', value: 2},
        {label: 'select 3', value: 3},
      ],
      required: false,
      requiredHint: '',
      customRule: '',
      customRuleHint: '',
      //-------------------
      customClass: '',  //自定义css类名
      labelIconClass: null,
      labelIconPosition: 'rear',
      labelTooltip: null,
      //-------------------
      onCreated: '',
      onMounted: '',
      onChange: '',
      onFocus: '',
      onBlur: '',
      onValidate: '',
    },
  },*/

  {
    type: 'slot',
    icon: 'slot-field',
    formItemFlag: false,
    options: {
      name: '',
      label: '',
      customClass: '',  //自定义css类名
    }
  },

]

export const customFields = [

]

export const chartContainers = [

]

export const chartWidgets = [

]

export function addContainerWidgetSchema(containerSchema) {
  containers.push(containerSchema)
}

export function addBasicFieldSchema(fieldSchema) {
  basicFields.push(fieldSchema)
}

export function addAdvancedFieldSchema(fieldSchema) {
  advancedFields.push(fieldSchema)
}

export function addCustomWidgetSchema(widgetSchema) {
  customFields.push(widgetSchema)
}

export function addChartContainerSchema(chartContainerSchema) {
  chartContainers.push(chartContainerSchema)
}

export function addChartSchema(chartSchema) {
  chartWidgets.push(chartSchema)
}
